class C:
    def __init__(self, size=10):
        self.size = size

    def get_size(self):
        return self.size

    def set_size(self, value):
        self.size = value

    def del_size(self):
        del self.size

    x = property(get_size, set_size, del_size)


if __name__ == "__main__":
    c = C()
    print(c.x)
    c.x = 12
    print(c.x)
    print(c.size)
    del c.size
    print(c.size)